import hyit.app.factory.DAOFactory;
import hyit.app.model.SemesterInfo;
import hyit.app.model.TeacherInfo;

import java.sql.Date;
import java.util.List;

import org.joda.time.DateTime;
import org.joda.time.Days;

public class LogTest {

	public static void main(String[] args) throws Exception {
		List<TeacherInfo> list = DAOFactory.getITeacherInfoDAOInstance()
				.validate("phone", "18505171616", "660827");
		for (TeacherInfo t : list) {
			System.err.println(t.getName() + " " + t.getTeacherNumber());
		}
	}
}
